package com.redwood.report.entity.bak;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.redwood.report.adapter.bak.ListItemAdapter;
import com.redwood.report.entity.ServiceResult;

import java.util.List;

/**
 * Created by sp on 2018/11/30.
 */

public class WxJiluInfo extends ServiceResult {

    /**
     * finish : {"id":2,"wxid":"11811002","kind":"10","appliant":"1","appTime":"2018-11-28T23:17:20.557","wxContent":"我也不知道哪里坏了","creater":"1","createTime":"2018-11-28T23:17:20.557","updater":"1","updatetime":"2018-11-28T23:17:20.56","guid":"248bf5f6-7833-4714-bd4e-bacf546e9012","img":null,"appName":"隔壁老王","appUser":{"userID":"A001","userName":"隔壁老王","password":"123456","employee":"1","phone":"13771989872","role":"1","lock":false}}
     * list : [{"id":2,"wxid":"11811002","kind":"10","appliant":"1","appTime":"2018-11-28T23:17:20.557","wxContent":"我也不知道哪里坏了","creater":"1","createTime":"2018-11-28T23:17:20.557","updater":"1","updatetime":"2018-11-28T23:17:20.56","guid":"248bf5f6-7833-4714-bd4e-bacf546e9012","img":null,"appName":"隔壁老王","appUser":{"userID":"A001","userName":"隔壁老王","password":"123456","employee":"1","phone":"13771989872","role":"1","lock":false}}]
     */

    private ListBean finish;
    private List<ListBean> list;

    public ListBean getFinish() {
        return finish;
    }

    public void setFinish(ListBean finish) {
        this.finish = finish;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }
    public static class ListBean implements MultiItemEntity {
        /**
         * id : 2
         * wxid : 11811002
         * kind : 10
         * appliant : 1
         * appTime : 2018-11-28T23:17:20.557
         * wxContent : 我也不知道哪里坏了
         * creater : 1
         * createTime : 2018-11-28T23:17:20.557
         * updater : 1
         * updatetime : 2018-11-28T23:17:20.56
         * guid : 248bf5f6-7833-4714-bd4e-bacf546e9012
         * img : null
         * appName : 隔壁老王
         * appUser : {"userID":"A001","userName":"隔壁老王","password":"123456","employee":"1","phone":"13771989872","role":"1","lock":false}
         */

        private int id;
        private String wxid;
        private String kind;
        private String appliant;
        private String appTime;
        private String wxContent;
        private String creater;
        private String createTime;
        private String updater;
        private String updatetime;
        private String guid;
        private String img;
        private String appName;
        /**
         * appPhone : 13814986320
         */

        private String appPhone;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getWxid() {
            return wxid;
        }

        public void setWxid(String wxid) {
            this.wxid = wxid;
        }

        public String getKind() {
            return kind;
        }

        public void setKind(String kind) {
            this.kind = kind;
        }

        public String getAppliant() {
            return appliant;
        }

        public void setAppliant(String appliant) {
            this.appliant = appliant;
        }

        public String getAppTime() {
            return appTime;
        }

        public void setAppTime(String appTime) {
            this.appTime = appTime;
        }

        public String getWxContent() {
            return wxContent;
        }

        public void setWxContent(String wxContent) {
            this.wxContent = wxContent;
        }

        public String getCreater() {
            return creater;
        }

        public void setCreater(String creater) {
            this.creater = creater;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdater() {
            return updater;
        }

        public void setUpdater(String updater) {
            this.updater = updater;
        }

        public String getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(String updatetime) {
            this.updatetime = updatetime;
        }

        public String getGuid() {
            return guid;
        }

        public void setGuid(String guid) {
            this.guid = guid;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getAppName() {
            return appName;
        }

        public void setAppName(String appName) {
            this.appName = appName;
        }

        @Override
        public int getItemType() {
            return ListItemAdapter.TYPE_LEVEL_1;
        }

        public String getAppPhone() {
            return appPhone;
        }

        public void setAppPhone(String appPhone) {
            this.appPhone = appPhone;
        }

    }
}
